<div class="comment">
<div class="com_tit"><div class="l">跟帖共<span class="red"><script src="{dede:field name='phpurl'/}/fedcount.php?view=yes&aid={dede:field name='id'/}&mid={dede:field name='mid'/}" language="javascript"></script></span>条</div> <div class="r"><a href="{dede:field name='phpurl'/}/feedback.php?aid={dede:field name='id'/}"  target="_blank">查看网友评论</a></div></div>
<div class="com_con">
<form action="/plus/feedback.php" method="post" name="feedback"  onsubmit="return checkform();">
<input type="hidden" name="action" value="send" />
<input type="hidden" name="comtype" value="comments">
<input type="hidden" name="aid" value="{dede:field name="id"/}" />
<input type="hidden" name="isconfirm" value="yes" />
<p id="login_info2">笔 名：<input type="text" name="username" id="username" value="敏而学网友" disabled="disabled" class="ar_inp1">　验证码：<input type="text" name="validate" id="validate" size="4" class="ipt_txt" style="text-transform:uppercase;"/> <img src= "/include/vdimgck.php" id="validateimg" align="absbottom" style="cursor:pointer" onclick="this.src=this.src+'?'" width="60" height="24"  title="点击我更换图片" alt="点击我更换图片" />　　<a href="/member/login.php">登录后评论！</a></p>
<p><textarea name="msg" id="msg" class="ar_inp2"></textarea></p>
<p><span class="l">网友评论仅供其表达个人看法，并不表明敏而学同意其观点或证实其描述</span> <span class="r"><input type="submit" id="submit" name="submit" value="发表评论" class="ar_btn1"></span></p>
 </form>
</div>
</div>
<script language="javascript" type="text/javascript">CheckLogin2();</script>
<!-- //评论表单区结束 -->

<script language='javascript'>
function checkform() {
	if ($('#username').length > 0 && $('#username').val() == "") {
		alert("请输入您的名字！");
		return false;
	}
	if ($('#validate').length > 0 && $('#validate').val() == "")	{
		alert("请输入验证码！");
		return false;
	}
	if ($('#msg').length > 0 && $('#msg').val() == "")	{
		alert("请输入评论内容！");
		return false;
	}
	if($('#msg').val().length > 500)
		{
			alert("您的评论内容过长，请填写500字以内的评论。");
			return false;
		}
	$('#submit').attr("disabled", true);
	return true;
}

</script>